package com.group3.group3.post.service;
/**
 * Created with IntelliJ IDEA.
 *
 * @Author: Tom
 * @Date: 2022/05/19/22:37
 * @Description:
 */

/**
 *@ClassName PostService
 *@Description
 *@Author 王琛
 *@Date 2022/5/19 22:37
 @Version 1.0
 */


import com.group3.group3.mybatis.entity.PtDutyEntity;
import com.group3.group3.mybatis.entity.PtMenuEntity;
import com.group3.group3.mybatis.flexigrid.PadingRstType;
import com.group3.group3.mybatis.flexigrid.PagingBean;
import com.group3.group3.mybatis.ztree.ZtreeEntity;
import com.group3.group3.post.entity.SearchPostEntity;

import java.util.List;

public interface PostService {
    List<ZtreeEntity> getPostTree();
    PtDutyEntity getPostInfoById(String postId);
    PadingRstType<PtDutyEntity> getPostInfoListByPage(SearchPostEntity search, PagingBean paging);
    void deletePostById(String postId);
    void modifyPostInfoById(PtDutyEntity entity);


}
